package com.md.model.request.system.system;

import com.md.util.StringUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author 刘骄阳
 * 2023-10-18 16:21
 */
@Data
@ApiModel("查询字典详情请求实体")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QueryDictionariesRequest {
  /**
   * key
   */
  @NotNull
  @ApiModelProperty("key")
  private String key;

  @Override
  public String toString() {
    return StringUtil.objectToJson(this);
  }

}
